<template>
    <div class="private">
        <div class="titleBg"></div>
        <div class="form-box">
            <div class="form-group mb20">
                <div class="input-group">
                    <textarea placeholder="请输入分享标题" class="input input-login" v-model="title"></textarea>
                </div>
            </div>
            <div class="form-group">

                <div class="input-group">
                    <textarea placeholder="请输入分享内容" class="input" v-model="cont"></textarea>
                </div>
            </div>
        </div>
        <div class="btn-group">
            <button class="btn btn-default" @click="">我的分享</button>
        </div>

        <div class="tem">
            <p>效果图展示</p>
            <ul class="showRes">
                <li class="fri">
                    <em>分享给朋友</em>
                    <div class="share-box">
                        <div class="left">
                            <p>这里是分享标题</p>
                            <p>这里是分享内容</p>
                        </div>
                        <div class="right">
                            <img src alt="分享图标" />
                        </div>
                    </div>
                </li>
                <li class="fri-line">
                    <em>分享到朋友圈</em>
                    <div class="share-box">
                        <div class="left">
                            <img src alt="分享图标" />
                        </div>
                        <div class="right">
                            <p>这里是分享标题</p>
                        </div>
                    </div>
                </li>
                <li class="zero">
                    <em>分享到QQ空间</em>
                    <div class="share-box">
                        <div class="left">
                            <img src alt="分享图标" />
                        </div>
                        <div class="right">
                            <p>这里是分享标题</p>
                            <p>这里是分享内容</p>
                        </div>
                    </div>
                </li>
                <li class="weibo">
                    <em>分享到微博</em>
                    <div class="share-box">
                        <div class="left">
                            <img src alt="分享图标" />
                        </div>
                        <div class="right">
                            <p>这里是分享标题</p>
                            <p>这里是分享内容</p>
                        </div>
                    </div>
                </li>
            </ul>
        </div>



        <div class="btn-group">
            <button class="btn btn-default" @click="">订制</button>
        </div>

    </div>
</template>

<script>

</script>

<style lang="scss">
    .private {
        background: -webkit-linear-gradient(top, #ffffff, #bff3ef);
        padding: 0 .5rem;
        overflow: hidden;
        .titleBg {
            height: 5rem;
            background: url(/static/img/banner-share.024e80a.png) no-repeat;
            background-size: 100% 100%;
            border-radius: .5rem;
            margin-top: 1rem;
        }
        .tem {
            &>p {
                padding-left: .3rem;
                color: #000;
                font-size: 1rem;
                font-weight: bold;
                line-height: 2rem;
                border-bottom: 1px solid #fbfbfb;
            }
            li {
                display: block;
                padding-top: .2rem;
                overflow: hidden;
                em {
                    font-style: inherit;
                    display: block;
                    font-size:.8rem;
                }
                .left,.right {
                    float: left;
                }
                &>div {
                    background: #fff;
                    border-radius: .25rem;
                    overflow: hidden;
                    padding: .5rem;
                    margin-top:.5rem;
                }
            }
        }
        button {
            width: 100%;
            line-height: 2rem;
            font-size: 1rem;
            background: #fff;
            border: 1px solid #dcf3e2;
            color: #f1a5a5;
            border-radius: .2rem;
            margin: .8rem 0;
        }
    }
    .form-group {
        position: relative;
        width: 100%;
        margin-top: 1rem;
        textarea {
            width: 100%;
            text-indent: .3rem;
            height: 4rem;
            border-radius: .2rem;
            padding-top:.2rem;
            border: 1px solid #efefef;
        }
    }
</style>
